package com.lxd.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
public class Controller {
    @GetMapping("/word")
    public String name(){
        return " testContro  ller11";
    }
    @GetMapping("/hello")
    public String hello(){
        return " he ll o";
    }

}
